package com.leoman.sensitivewords.service;

import com.leoman.common.service.GenericManager;
import com.leoman.sensitivewords.entity.SensitiveWords;

import java.util.List;

/**
 * Created by 蔡琦 on 2016/7/29 0029.
 *
 */
public interface SensitiveWordsService extends GenericManager<SensitiveWords> {

    // 根据大写字母查找敏感字列表
    List<SensitiveWords> findByCode(String code);

    // 过滤关键词
    String replaceWord(String content);
}
